/**
 * Created by IntelliJ IDEA.
 * User: user
 * Date: 27.11.12
 * Time: 09:49
 * To change this template use File | Settings | File Templates.
 */
package zakladki.decorators {
import flash.geom.Rectangle;

public class PlotItemDecorator {

    private var _item:Object;
    private var _rectangle:Rectangle;
    private var _flag:Boolean;
    private var _countryName:String;


    public function PlotItemDecorator(item:Object, rectangle:Rectangle, flag:Boolean) {
        _item = item;
        _rectangle = rectangle;
        _flag = flag;
        _countryName = item.item.countryName;
    }

    public function get item():Object {
        return _item;
    }

    public function set item(value:Object):void {
        _item = value;
    }

    public function get rectangle():Rectangle {
        return _rectangle;
    }

    public function set rectangle(value:Rectangle):void {
        _rectangle = value;
    }

    public function get flag():Boolean {
        return _flag;
    }

    public function set flag(value:Boolean):void {
        _flag = value;
    }


    public function get countryName():String {
        return _countryName;
    }

    public function set countryName(value:String):void {
        _countryName = value;
    }
}
}
